package com.example.feginconsumer.controller;


import com.example.feginconsumer.client.IUserInfoClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @Autowired
    private IUserInfoClient userInfoClient;
    @GetMapping("/findAll")
    public String findAll(){
        String str  = userInfoClient.findAll();
        return str;
    }
}
